Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Runtime Invocation Functions /


JMPutSessionProperty

Adds or modifies a session property.

OSStatus JMPutSessionProperty (
                     JMSessionRef session,
                     const JMTextRef propertyName,
                     const JMTextRef propertyValue);
session
The session whose property you wish to set.
propertyName
A text object holding the name of the property whose value you want to add or modify.
propertyValue
The value to set for propertyName, as a JMTextRef object.
function result
A result code; see "JManager Result Codes".
DISCUSSION
If the property does not exist, JManager creates a new one with the name in propertyName and the value in propertyValue. This function corresponds to the Java method java.lang.System.setProperty.

SEE ALSO
The JMGetSessionProperty function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997